import { getData,postData } from "@/utils/request";

// 根据ID获取电子卷宗的案件信息
export async function getCaseInfoById(data: any) {
    const result = await getData(`/electronicFile/getCaseInfoById`,data);
    return result;
}

// 根据案件id和显示标签获取案件的不同阶段信息
export async function getCaseStageDetailByCaseStage(data: any) {
    const result = await postData(`/electronicFile/getCaseStageDetailByCaseStage`,data);
    return result;
}
// 根据案件id获取案件进度的所有阶段信息
export async function getAllCaseStageInfoByCaseId(data: any) {
    const result = await getData(`/electronicFile/getAllCaseStageInfoByCaseId`,data);
    return result;
}